WP2FA\Admin\Helpers\File_Writer C

Total Complexity 125
Dependencies 5
Dependents 2
Total lines 781
Lines of code 416
Logical lines of code 261
Comment lines 215
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
write()
C
35 25 82
read()
B
42 19 51
save_secret_key()
A
42 13 50
get_upload_path()
A
46 13 36
update()
A
44 12 44
create_dir()
A
49 10 32
remove()
S
54 4 23
get_line_ending()
S
56 4 17
get_wp_config_file_path()
S
61 4 11
add_file_listing_protection()
S
62 4 11
get_permissions()
S
62 3 11
get_file_contents()
S
64 3 10
chmod()
S
65 3 9
get_placeholder()
S
66 2 8
get_default_permissions()
S
69 2 7
can_write_to_file()
S
80 1 3
write_wp_config()
S
75 1 4
exists()
S
75 1 4
normalize_line_endings()
S
78 1 3